package com.xneure.database.define;

public class ColumnDefineImpl extends ColumnDefine{
	private int id;
	private String name;
	private boolean primaryKey;
	private String type;
	private int length;
	private int precision;
	private boolean nullAble;
	private Object defaultValue;
	private String comment;

	public int getId(){
		return id;
	}

	public void setId(int id){
		this.id = id;
	}

	public String getName(){
		return name;
	}

	public void setName(String name){
		this.name = name;
	}

	public boolean isPrimaryKey(){
		return primaryKey;
	}

	public void setPrimaryKey(boolean primaryKey){
		this.primaryKey = primaryKey;
	}

	public String getType(){
		return type;
	}

	public void setType(String type){
		this.type = type;
	}

	public int getLength(){
		return length;
	}

	public void setLength(int length){
		this.length = length;
	}

	public int getPrecision(){
		return precision;
	}

	public void setPrecision(int precision){
		this.precision = precision;
	}

	public boolean isNullAble(){
		return nullAble;
	}

	public void setNullAble(boolean nullAble){
		this.nullAble = nullAble;
	}

	public Object getDefaultValue(){
		return defaultValue;
	}

	public void setDefaultValue(Object defaultValue){
		this.defaultValue = defaultValue;
	}

	public String getComment(){
		return comment;
	}

	public void setComment(String comment){
		this.comment = comment;
	}

}
